home *** CD-ROM | disk | FTP | other *** search
- CrtPlus Unit Revision 1.0
- Shareware Release
- April 1991
-
- Turbo Pascal is a registered trademark of Borland International, Inc.
-
- (c) Copyright 1991 Modern Solutions. All rights reserved.
-
- Modern Solutions P.O. Box 55721, Hayward, California 94545
-
- INTRODUCTION
- ************
-
- SHAREWARE
- *********
-
- CrtPlus has been released under shareware concepts. This enables users
- of Turbo Pascal to use CrtPlus within their software without any initial
- cost incurred.
-
- Shareware software is not considered free. You are, however, encouraged
- to use this software as often as you like. Once you are satisfied with the
- product and its capabilities, it is recommended that the program is registered.
- Registration entitles users to an official registered copy of the CrtPlus
- unit and the accompanying documentation. Registered users also will be kept
- up to date on latest releases and updates and are entitled to using Modern
- Solution's software support line.
-
- Once registered, the registered user is entitled to use CrtPlus as often
- as he or she likes within their programs, whether commerical or not, as long as
- it is not distributed as a 'stand alone' product.
-
- To register the CrtPlus unit, send a check or money order for $25.00 +
- $2.50 ( Shipping & Handling ) with the registration form. ( No C.O.D. please. )
-
- The registration form is included with the CrtPlus unit files.
- To print the registration form, run the REGISTER batch file from the DOS
- prompt. ( For more information on running batch files, see your DOS manual. )
-
- DISCLAIMER
- **********
-
- Modern Solutions makes no warranties, neither expressed nor implied
- pertaining to this software. If you choose to use this software, you do
- so at your own risk, and Modern Solutions is not obligated for any personal
- loss incurred by the usage of this software.
-
- Permission is hereby granted to distribute this software under shareware
- concepts as long as this documentation accompanies it. This software may not
- be distributed for profit other than the single-disk asking price of a
- shareware distributor used to cover duplication and distribution costs, not to
- exceed $10 under any circumstances. Modern Solutions reserves all rights to
- the software and accompanying documentation.
-
- CRTPLUS
- *******
-
- CrtPlus is a collection of routines for Turbo Pascal alphanumeric
- programmers that cannot be accomplished with the CRT unit or calls to
- IBM BIOS or MS-DOS interrupts nor are they found in typical alphanumeric
- toolboxes. Routines are written primarily in PC Assembly Language for
- maximum performance.
-
- THE CRTPLUS UNIT
- *****************
-
- function CGApresent:boolean;
-
- Returns the TRUE if a CGA compatible video adapter is available.
-
- function MDApresent:boolean;
-
- Returns the TRUE if a MDA compatible video adapter is available.
-
- function EGApresent:boolean;
-
- Returns the TRUE if an EGA compatible video adapter is available.
-
- procedure Crt80x43;
-
- Creates a DOS compatible 80x43 alphanumeric video mode. The system
- must have an EGA compatible video adapter.
-
- procedure Crt80x50;
-
- Creates a DOS compatible 80x50 alphanumeric video mode. The system
- must have a VGA compatible video adapter.
-
- procedure BlinkingOff;
-
- Disables all blinking within alphanumeric modes. Unlike interrupt
- calls, this routine will disable CGA and MDA blinking as well to
- produce a total of 16 foreground and 16 background colors in all
- video systems.
-
- procedure BlinkingOn;
-
- Enables blinking within alphanumeric modes. Unlike interrupt
- calls, this routine will enable CGA and MDA blinking to restore
- all video systems to their normal foreground and background colors.
-
- procedure BlockFill(x1,y1,x2,y2,fc,bc,ascii:integer);
-
- Fills a square in the video buffer from x1,y1 to x2,y2 with the
- colors fc and bc with the common character specified by the variable
- ascii. BlockFill is useful for high speed windowing and other
- alphanumeric screen techniques.
-
- BlockFill requires the global typed constant VIDEOSEGMENT to be
- set to the beginning of the alphanumeric video buffer. By default,
- VIDEOSEGMENT is set to $B800 which is the appropriate value for all
- video adapters except MDA compatible adapters. MDA compatible
- adapters use the value $B000.
-
- To change this value simply type :
-
- videosegment:=$b000;
-
- procedure BlockColor(x1,y1,x2,y2,fc,bc:inte`ger);
-
- Changes the color of a square in the video buffer from x1,y1 to
- x2,y2 to the colors specified by fc and bc. BlockColor is useful
- for highlighting items of the alphanumeric screen.
-
- BlockColor requires the global typed constant VIDEOSEGMENT to be
- set to the beginning of the alphanumeric video buffer. By default,
- VIDEOSEGMENT is set to $B800 which is the appropriate value for all
- video adapters except MDA compatible adapters. MDA compatible
- adapters use the value $B000.
-
- To change this value simply type :
-
- videosegment:=$b000;
-
- procedure BlockCopy(x1,y1,x2,y2,x3,y3:integer);
-
- BlockCopy copies a block of video from x1,y1 to x2,y2 to another
- location in the video buffer specified by x3,y3. Unlike similar
- offerings, BlockCopy is direction independent, meaning that it
- will not overwrite the source block when creating the destination
- block within the video buffer.
-
- BlockCopy requires the global typed constant VIDEOSEGMENT to be
- set to the beginning of the alphanumeric video buffer. By default,
- VIDEOSEGMENT is set to $B800 which is the appropriate value for all
- video adapters except MDA compatible adapters. MDA compatible
- adapters use the value $B000.
-
- To change this value simply type :
-
- videosegment:=$b000;
-
- CONTACT
- *******
-
- Modern Solutions can be contacted through the following sources :
-
- Compuserve
- Borland International Turbo Pascal Forum
- User Name : Allen Drennan ( Modern Solution's Representative )
- User Identification : 76130,3112
-
- TurboCity BBS (209) 599-7435 Ripon, California
- The Best Turbo Pascal BBS in the World.
- User Name : Allen Drennan ( Modern Solution's Representative )
- Fido 1:208/2
-
- Modern Solutions
- P.O. Box 55721
- Hayward, CA 94545
-
-
- ----------------end-of-author's-documentation---------------
-
- Software Library Information:
-
- This disk copy provided as a service of
-
- Public (software) Library
-
- We are not the authors of this program, nor are we associated
- with the author in any way other than as a distributor of the
- program in accordance with the author's terms of distribution.
-
- Please direct shareware payments and specific questions about
- this program to the author of the program, whose name appears
- elsewhere in this documentation. If you have trouble getting
- in touch with the author, we will do whatever we can to help
- you with your questions. All programs have been tested and do
- run. To report problems, please use the form that is in the
- file PROBLEM.DOC on many of our disks or in other written for-
- mat with screen printouts, if possible. PsL cannot debug pro-
- programs over the telephone, though we can answer questions.
-
- Disks in the PsL are updated monthly, so if you did not get
- this disk directly from the PsL, you should be aware that the
- files in this set may no longer be the current versions. Also,
- if you got this disk from another vendor and are having prob-
- lems, be aware that some files may have become corrupted or
- lost by that vendor. Get a current, working disk from PsL.
-
- For a copy of the latest monthly software library newsletter
- and a list of the 3,000+ disks in the library, call or write
-
- Public (software) Library
- P.O.Box 35705 - F
- Houston, TX 77235-5705
-
- Orders Only:
- 1-800-2424-PSL
- FAX: 713-524-6398
- CompuServe: 71355,470
- MC/Visa/AmEx/Discover
-
- Outside of U.S. or in Texas
- or for general information,
- Call 1-713-524-6394
-
-